package com.mini.rpc.protocol.protocol;

import lombok.Getter;

/**
 * @author lbx
 * @version 1.0.0
 * @enumName MsgStatus
 * @description TODO
 * @date 2021/10/5 12:40
 **/
public enum MsgStatus {
    SUCCESS(0),
    FAIL(1);

    @Getter
    private final int code;

    MsgStatus(int code) {
        this.code = code;
    }
}
